package com.firstgroup.service;

import com.firstgroup.domain.Comment;

import java.util.List;
import java.util.Optional;

public interface CommentService {
    /**
     * 遍历学长评价
     * 遍历一面评价
     * @param interviewerId
     * @param state
     * @return
     */
    List<Comment> findByInterviewrIdAndState(Integer interviewerId, String state);


    Optional<Comment> findComments(int interviewerId);

    List<Comment> findCountss(int interviewerId);

    Comment addComments(Comment comment);




}
